package com.repair.project.service.impl;

import com.repair.project.entity.Repaircontent;
import com.repair.project.mapper.RepaircontentMapper;
import com.repair.project.service.RepaircontentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hz
 * @since 2021-01-12
 */
@Service
public class RepaircontentServiceImpl extends ServiceImpl<RepaircontentMapper, Repaircontent> implements RepaircontentService {

    @Autowired
    RepaircontentMapper repaircontentMapper;

    @Override
    public List<Map<String, Object>> getRepairList(Integer repairid, Long stuid, Integer workerid, Integer houseid, Integer typeid, String name, String status) {
        return repaircontentMapper.getRepairList(repairid,stuid,workerid,houseid,typeid,name,status);
    }
}
